package com.sanjiahantang.youjiaclient.module.common.views;

import com.amap.api.location.AMapLocationClient;
import com.sanjiahantang.youjiaclient.base.BaseView;
import com.sanjiahantang.youjiaclient.module.common.adapters.HomeAdapter;

/**
 * Created by zy on 2017/9/1.
 */

public interface HomeView extends BaseView {


    String KEY_ADDRESS = "address";



    String DEFAULT_CITY = "重庆";

    AMapLocationClient getAMapLocationClient();

    void setCityText(String province);

    void setLayoutRefreshing(boolean b);

    void initRecyclerView(HomeAdapter adapter);

    void getMoreHomePage();

    void showToast(String s);

    void showDialog(boolean flag,String message);

    void onNetError(boolean b);
}

